package com.yb.project.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import com.yb.project.base.mapper.BaseMapper;
import com.yb.project.base.service.impl.BaseServiceImpl;
import com.yb.project.system.domain.SysLogOperate;
import com.yb.project.system.mapper.SysLogOperateMapper;
import com.yb.project.system.service.SysLogOperateService;

@Service
public class SysLogOperateServiceImpl extends BaseServiceImpl<SysLogOperate> implements SysLogOperateService {
	
	@Autowired
	private SysLogOperateMapper sysLogOperateMapper;
	
	@Override
	protected BaseMapper<SysLogOperate> getMapper() {
		return sysLogOperateMapper;
	}
	
	@Async
	@Override
	public void insertLogAsync(SysLogOperate sysLogOperate) {
		// TODO Auto-generated method stub
		sysLogOperateMapper.insert(sysLogOperate);
	}
}